package com.labreeze.spring.resource;


import org.springframework.core.io.Resource;
import org.springframework.core.io.support.PathMatchingResourcePatternResolver;
import org.springframework.core.io.support.ResourcePatternResolver;

public class TestResourceLoader {
	
	public static void main(String[] args) throws Exception {
		
		ResourcePatternResolver resResolver=new PathMatchingResourcePatternResolver();
		Resource ress[]=resResolver.getResources("classpath*:**/*.xml");
		for(Resource res:ress){
			System.out.println(res.getFilename());
		}
	}

}
